package com.synnex.wmsdeployer.util;

public class StringUtil {
	public static boolean isNullOrBlank(String string){
		return (isNull(string))||(isBlank_(string));
	}
	
	public static boolean isNull(String string){
			return (string==null);
		}

	public static boolean isBlank(String string){
		return (!isNull(string))&&(isBlank_(string));
	}
	
	private static boolean isBlank_(String string){
		return string.trim().length()==0;
	}
}
